/*
 * Created on 2005-3-31
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package org.faquir.log;

/**
 * @author YiChen_admin
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */

import org.apache.log4j.Category;

/**
 *
 * <p>Title: Logger.java</p>
 * @author $Author guoqy $
 * @version $Revision 1.1.1.1 $
 */
public class Logger {
    private static Category rootLog = Category.getRoot();

    private Logger() {
    }

    public static Category getLogger() {
        return rootLog;
    }

    public static Category getLogger(String categoryName) {
        return Category.getInstance(categoryName);
    }

}
